import http from '@/common/http.js'

export default {
	// 用户确认取车
	orderQrqc: (data) => {
		return http.post({
			url: 'order/qrqc',
			data
		})
	},
	// 用户提交还车
	orderTjhc: (data) => {
		return http.post({
			url: 'order/tjhc',
			data
		})
	},
	// 车主确认还车，并退押金
	driverQrhc: (data) => {
		return http.post({
			url: 'driver/qrhc',
			data
		})
	},
	// 车主驳回
	driverCzbh: (data) => {
		return http.post({
			url: 'driver/czbh',
			data
		})
	},
}
